

const app = {
    state: {
        BSKCardList:[],
        ticketListData:[],
        IOSCardList:[],
        couponList:[],
        list: [],
        couponListLose:[],
    },
    mutations: {
        SET_LIST: (state, data) => {
            state.list = data
        },
        SET_COULose: (state, data) => {
            state.couponListLose = data
        },
        SET_BSKCardList: (state, BSKCardList) => {
            state.BSKCardList = BSKCardList
        },
        SET_ticketListData: (state, ticketListData) => {
            state.ticketListData = ticketListData
        },
        SET_IOSCardList: (state, IOSCardList) => {
            state.IOSCardList = IOSCardList
        },
        SET_couponList: (state, couponList) => {
            state.couponList = couponList
        },
    },
    actions: {
        SET_LISTS: ({ commit }, data) => {
            commit('SET_LIST', data)
        }
    }
}

export default app
